package com.wlj.jpa.service;

import com.wlj.jpa.entity.Book;
import com.wlj.jpa.query.BookQuery;
import org.springframework.data.domain.Page;

/**
 * @description
 * @param
 * @return
 * @author wlj
 * @date 2018/8/17 10:53
 */
public interface IBookQueryService {

    Page<Book> findBookNoCriteria(Integer page, Integer size);

    Page<Book> findBookCriteria(Integer page, Integer size, BookQuery bookQuery);

    Page<Book> findBookCriteriaTwo(Integer page, Integer size, BookQuery bookQuery);
}